package justtry;

/**
 * Created by weishaofei on 2017/12/9.
 */
public class TestAnd {
    public static void main(String[] args) {
        System.out.println("&& result");
        System.out.println(isFalse()&& isTrue());
        System.out.println("& result");
        System.out.println(isFalse()&isTrue());
    }

    private static boolean isTrue(){
        System.out.println("isTrue");
        return true;
    }

    private static boolean isFalse(){
        System.out.println("isFalse");
        return false;
    }
}
